<?php exit?>
<!DOCTYPE HTML>
<head>
<meta charset="utf-8" />
<meta name="author" content="<!--{$article.author|escape:html}-->" />
<meta name="keywords" content="<!--{$article.keywords|escape:html}-->" />
<meta name="description" content="<!--{$article.description|escape:html}-->" />
<meta name="copyright" content="Powered by YCKIT" />
<title><!--{$article.title|escape:html}--> - <!--{$config.title|escape:html}--></title>
<!--{include file="static.php"}-->
<script type="text/javascript">
jQuery(function(){
	<!--{if $article.is_comment}-->
	get_comment('<!--{$path}-->','content',<!--{$article.id}-->,1);
	<!--{/if}-->
	jQuery('#category_<!--{$article.category_id}-->').addClass('hover');
	jQuery(".post-content img").LoadImage($('.post-content').width(),600,"<!--{$path}-->core/images/lightbox-ico-loading.gif");
	update_article_click('<!--{$path}-->',<!--{$article.id}-->);
	<?php $this->hook('onload');?>
});
</script>
</head>
<body>
<!--{$header}-->
<div id="content">
	<div id="main">
		<div class="box view">
			<div class="post-top">
				<em><!--{$article.title}--></em>
			</div>
			<div class="post-info">
				<span class="time"><!--{$article.time}--></span>
				<!--{if $article.click_count}--><span class="click_count">浏览<span  id="click_count"><!--{$article.click_count}--></span>次</span>&nbsp;<!--{/if}-->
				<!--{if $article.author}--><span class="author">作者：<!--{$article.author}--></span><!--{/if}-->
				<a href="<!--{$article.category_path}-->"  class="category"><!--{$article.category_name}--></a>
			</div>
			<div class="post-content"><!--{$article.content}--></div>
			<div class="line"></div>
				<!--{if $prev}-->
					<div class="prev">上一篇：<a href="<!--{$prev.html}-->.html"><!--{$prev.title}--></a></div>
				<!--{/if}-->
				<!--{if $next}-->
					<div class="next">下一篇：<a href="<!--{$next.html}-->.html"><!--{$next.title}--></a></div>
				<!--{/if}-->

		</div>

		<!--{if $article.is_comment}--><div class="box"><div id="comment"></div></div><!--{/if}-->
	</div>
	<div id="side">
		<?php $this->hook('side_begin');?>
		<div class="box">
			<h3>快速搜索</h3>
			<div id="search">
				<input type="text" id="search_keyword" class="input" x-webkit-speech/>
				<input type="hidden" id="search_action" value="content" class="input" x-webkit-speech/>
				<input type="button" id="search_submit" value="搜索" class="button" onclick="Search('<!--{$path}-->')"/>
			</div>
		</div>
		<!--{if $article_related_list}-->
		<div class="box">
			<h3>相关内容</h3>
			<ul class="side-list">
			<!--{foreach from=$article_related_list item=article}-->
			<li><a href="<!--{$article.uri}-->" title="<!--{$article.title|escape:html}-->"><!--{$article.title|truncate:25}--></a></li>
			<!--{/foreach}-->
			</ul>
		</div>
		<!--{/if}-->
		<div class="box">
			<h3>友情连接</h3>
			<ul class="side-link-list">
			<!--{foreach from=$link_list item=link}-->
			<li><a href="<!--{$link.url}-->" title="<!--{$link.text|escape:html}-->" target="_blank"><!--{$link.name}--></a></li>
			<!--{/foreach}-->
			</ul>
			<div class="clearfix"></div>
		</div>
		<?php $this->hook('side_end');?>
	</div>

	<div class="clearfix"></div>
</div>
<!--{$footer}-->
</body>
</html>